package cn.ecpay.unionpay.settle.util;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

/**
 * Created by zhaoyanzeng on 2018/11/26.
 */
public class ResourceUtils {
    public static InputStream getResource(String fileName) throws FileNotFoundException {
        InputStream stream = new ResourceUtils().getClass().getClassLoader().getResourceAsStream(fileName);
        return stream ;
    }
}
